package com.cloud.annotation.Depends;

import org.springframework.stereotype.Component;

@Component
public class DependsB {
    public DependsB() {
        System.out.println("我是DependsB");
    }

    void add() {
        System.out.println("我是B的add");
    }
}